/*
 * @Author: 李世千
 * @Date: 2021-04-26 20:47:25
 * @LastEditTime: 2021-04-27 10:59:00
 * @LastEditors: 李世千
 */
import {request} from 'umi'
export const getAbout=()=>{
    return request('/api/page/about')
}

//留言板列表
export const MessagedGuestbook= (hostId:string,page=1,pageSize=6) => request(`/api/comment/host/${hostId}`,{
    params:{
        page,
        pageSize
    }
})
